<%@ taglib uri="/WEB-INF/struts-tiles.tld" prefix="tiles" %>
<%@ taglib uri="/WEB-INF/struts-nested.tld" prefix="nested" %>
<%@ taglib uri="/WEB-INF/struts-logic.tld" prefix="logic" %>
<%@ taglib uri="/WEB-INF/struts-template.tld" prefix="template" %>
<%@ taglib uri="/WEB-INF/struts-bean.tld" prefix="bean" %>
<%@ taglib uri="/WEB-INF/struts-html.tld" prefix="html" %>
<%@ page contentType="text/html; charset=windows-1252" %>
<html:html>
<head>
<title>EPrice ~ Busqueda de Productos</title>
<link href="css/estilos.css" rel="stylesheet" type="text/css">
</head>
<body onLoad="window.focus();  document.getElementById('str_search').focus();">
<br>
<table width="350" cellpadding="0" cellspacing="1" border="0" class="tabla">
  <tr>
    <td colspan="3" height="25">
      <table width="100%" cellpadding="0" cellspacing="0" class="encabezadoTabla font_general">
        <tr>
          <td width="35%" height="25" align="right"> <img src="images/img_loginFlecha.gif" width="17" height="23" alt=""/></td>
          <td width="65%" height="25" align="left">&nbsp;&nbsp;Busqueda de Productos</td>
        </tr>
      </table>
    </td>
  </tr>
  <tr>
    <html:form action="grupoProd" method="GET">
      <td width="30%" height="20" align="center" class="colorLabel font_general">
        Codigo / Producto
      </td>
      <td width="50%" height="20"  align="center" class="colorCampo font_general">
        <html:hidden property="action" value="listProducto"/>
        <html:hidden property="id_grupo"/>
        <html:text property="str_search" size="30" maxlength="30" styleClass="textfield">
        </html:text>
      </td>
      <td width="20%" height="20"  align="center" class="colorCampo font_general">
        <html:submit styleClass="boton">Enviar</html:submit>
      </td>
    </html:form>
  </tr>
  <tr>
    <html:form action="grupoProd" method="GET">
      <td colspan="3" align="center" valign="top" height="300" class="colorCampo font_general" width="100%">
        <logic:notEmpty name="arr_producto">
          <html:hidden property="action" value="insertProducto"/>
          <html:select property="str_select" multiple="true" size="19"  styleClass="textfield" style="width:350px">
            <html:options collection="arr_producto" property="str_codigoProd" labelProperty="str_descripcionProd" styleClass="textfield"/>
          </html:select>
          <html:submit styleClass="boton">Agregar</html:submit>
        </logic:notEmpty>
        <logic:present name="arr">
          <bean:write name="arr"/>
        </logic:present>
      </td>
    </html:form>
  </tr>
</table>
<br>
</body>
</html:html>
